﻿<Application 
    x:Class="SignalLab.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:me="clr-namespace:SignalLab"
  >



  <!--Application Resources-->
  <Application.Resources>
    <ResourceDictionary>
      <ResourceDictionary.MergedDictionaries>
        <!--<ResourceDictionary Source="Styles\ToggleButton.xaml" />-->
        <ResourceDictionary Source="Styles\MenuItemTemplate.xaml"/>
      </ResourceDictionary.MergedDictionaries>

      <me:IsNullConverter x:Key="IsNullConverter" />
      <me:VisibilityConverter x:Key="VisibilityConverter" />

      <!--<me:SettingItemViewModel x:Key="DesignSettingItem" Description="Description goes here" SettingName="SettiongName">
        <me:SettingItemViewModel.Items>
          <me:StringKeyValue Name="server" />
          <me:StringKeyValue Name="username" />
          <me:StringKeyValue Name="password" />
        </me:SettingItemViewModel.Items>
      </me:SettingItemViewModel>-->
      
    </ResourceDictionary>
  </Application.Resources>
  

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>


</Application>